package com.netty.swing;

import javax.swing.*;

/**
 * @Description:
 * @Author: yangzhiwei
 * @Date: 2021/8/6 14:20
 */
public class SwingTest {

    public static void main(String[] args) {
        JFrame jFrame = new JFrame("yang first!");
        jFrame.setBounds(330,200, 600, 300);
       // JFrameFixedUtil.setDimensionAndLocationRelativeTo(jFrame);
        JFrameFixedUtil.setContentPane(jFrame);
        JFrameFixedUtil.setJPanel(jFrame);
        jFrame.setVisible(true);
    }
}
